implemented the directory tests and the repository specific tests