Non live tests

I updated the tests so they'd use a stub for the curl requests. That way they don't hit live servers.

I didn't add any tests. They're still quite minimal.