detachEvent Method test sample