added benchmarking tests in rspec