added test for deleting resources