I have added Active Directory Role to a test server my mistake :(
Dcpromo has not been run, and the server is not a member of a domain.
How do I remove the Active Directory Role?
Don't panic. Just remove the role using Server Manager.
All you actually do by installing the role is install the necessary binaries to enable you to run
A server isn't a Domain Controller until it is successfully