adding test case for issue 16