fix the test for triggers