Fix a few build related issues

Feel free to ignore this PR but these issues caused some frustrations for me trying to get the Hadoop connector to run:
* Delete old and unmaintained tests as they fail to compile
* Switch Java version to 1.7 (to be consistent with Gradle)