add testcase for #18