test dir access