Add tests to project file
Implement tests for events module