Tidied up pom files and removed test compilation error