Test case for issue #037.