add more tests for stat()ing a directory