Added a test for issue #188