[PATCH 10/10] mstask/tests: Add some tests for trigger management.