cherry-pick the Issue #72 test case from gemstone2.4 branch