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 would like to see this fixed. So this is simply the failing test case.