added testcase for #issue 32