Used rspec to test calculations for an array of stats.