Tests that stepping into dispatchEvent() method will lead to a pause in the first event listener.