Move glob tests to a run-pass test

The glob tests cannot change the current working directory because the other tests (namely the fileinput ones) depend on the current working directory not changing.