Added support for embedded tests using Wildfly
Fixed profiles testing