add test case for issue 398