Mock httpbackend request, fixes test