Added unit tests of DirectoryStore