tests/qht-bench: Adjust threshold computation