Some tests of java