Add test for issue #125