Add test case
Fix test case
Fixes issue #187