Fix test failure

Error: Modification of a read-only value attempted at t/partialdump/objects.t line 40.