add test for undelgateListeners for anon callbacks.