added test file for events