Working through specs, but needs a bit of work for mocking http