SImplified the JavaTransformerTests.