add tests for on(), off(), once() and dom.delegate()