Added test_read_directory and read_directory

Added test_read_directory and read_directory. Cleaned up comments.