A test for java-based configuration.