Modifying previous test to be able to delete records