Explicitly target Java 6 when compiling tests.