Fix pom and remove legacy test