Don't use a Java 7 type in the tests.
More and better compiler sanity checks