testing custom event listener