add DirectoryTest class and other io package file