Allow test "files" to be directories