Fixed the test for inserting an object after it has been deleted on a different device.