#246 add test case