split the glob() test to test different basedir