It would also be good to test the case where the directory exists but is empty. Then this test could be updated to say "non-empty directory".