Added test, added profiles to pom