Add a basic test for triggers.