test for single event listener