Delegate test

@prachigauriar please review