Add test for event fireing
Add example