added testcase for 2874