improve tests on ** for directory name