unit-test for issue #195