Fix assertion in test/bench.lua