Unit test changes in directory service API