adding the rspec tests