Add some tests for events