Adding rspec tests