Compiler source/target 1.5 in tests

Improvement where javac options source/target = 1.5 in src/test/java.