Added new tests for events