Attaching and detaching events
Detached and attached events and tests