add some test coverage around the to_hash method
remove unneeded cassette
make sure we only have needed cassettes
deprecate by_url on resource and move it to the client