Added testcase for PR #196