add testcase for #1