Tested detachEventListener.