fix pom and tests