Fix test code problem of test case testUpdateWithPGobject

Adding invocation of ResultSet.next() before getting data from it.
Merge pull request #231 from kingter/fix_testUpdateWithPGobject

Fix test code problem of test case testUpdateWithPGobject