How to validate your triggers