test for issue #185