Worked on testing with Rspec.