Fixes bad URI(is not URI?) and updates Rspec tests