Fix pom tests.