Add negative test for pom.xml