update test for deleting in controller