added testForDelegates