changed pom.xml back to its original form and added unit tests