Adding rspec and tests