add testcase for issue #106.