add stats with test and rspec