Added tests for delegations