Modify the test of RubyDir::glob