Added more tests for events and properties