test case for issue 17