Unit test for glob regression in 0.5.3

This includes a new test for a regression that appeared in 0.5.3 when I upgraded today. I'm not familiar enough to know how this regressed since 0.5.2 or how you might fix it, so this is simply the test case.