implementing tests for delegation mail