Refactored benchmarking out of test helper into rake task