test of java code