Change the way the tests trigger the modify event