Adds benchmarking to tests.