just test for the dir