             .catch (error) ->
               expect(error.name).toBe 'HttpError'
               expect(error.body).toEqual
-                statusCode: 500
                 message: 'foo'
                 originalRequest:
                   options: {}

          .catch (error) ->
            expect(error.name).toBe 'HttpError'
            expect(error.body).toEqual
              statusCode: 500
              message: 'foo'
              originalRequest:
                options: {}

          .then -> done('Should not happen')
          .catch (error) ->
            expect(error.body).toEqual
              message: 'timeout'
              originalRequest:
                options:
