test for resource deletion