perf-regression: add unit test #4001