TST add non-regression test for #2726