Rudimentary tests and stolen fixtures from the tesla-api gem.