Add directory server v1 testcases
Make Container mockable
Add tests for dea/directory