Added test for deleting