Add rspec gem and tests