Added delagate tests.