Made unit test for delete mutation more robust.