test read dir