test case for issue #182, which we are also seeing in our broader code