Adding rspec and a test for the url model