remove event listener tests