some java grammar testcase