Added test file for events