Add a test case for Java cursor issue refs #493