closes #8 and refactors the httpbackendMock a smidge