adding rspec tests