- Adding directory test in addition to file test