Adapt pom.xml after repository
Fix test