Adding event listener test