Testing event listeners.