Added more tests for delegation