Add test for broken type extraction in with Java 6 JVM.