Added a testinstance for a delegate.