fixed tests and pom.xml