Junit4 tests: Nail Java Version to 6.

Else the IDE runs JDK6 and gets an  Unsupported major.minor version 51.0