ENH add testcase for issue 2445