test case for issue #188

working on a fix, but here's the test case.