add test for deleting triggers