Tested attachEventListener.