test before making the dir