adding test case for issue 30