Testing support for Java 6