tests the deletion of activities