Add action events
Add tests for events and actions