make benchmarks runnable

Hi!

It seem that the benchmarks haven't been updated since the api was updated.