Mocked out http requests in the database test module. They don't look pretty but they work.