adds tests for Events