a test for java