added tests for ClassDirectoryRepository