add test case, #320