Complete event listener unit tests