Adding tests to events