fix an "unused arg" C++ compiler warning in test suite