fix test for ObjectSpace.dump() method.