Fix pom file to set Java source version and run tests