Add test for issue #182