Add delegate test