Worked on rspec tests