fixed delagation logic within unit test