test for deleting single record