Added test for invalid url
Merge branch 'defensive-api-changes' of github.com:cbdr/ruby-cb-api