(QENG-807) Add rspec tests for perf.rg