Add test for issue #126