Fixed pom.xml and integration tests