Issue #1647: A very basic test, just to catch future perf regression