Add non-regression test for the issue #100