Add tests for the event class
Merge branch 'test/pojo' into setup