       test.isTrue result.content
 
     it 'should allow default headers to be overridden', (test) ->
-      Restivus.addRoute 'testOverrideDefaultHeaders',
+      Restivus.addRoute 'override-default-headers',
         get: ->
           headers:
             'Content-Type': 'application/json'

        next()

    it 'should be able to send it\'s response in chunks', (test, next) ->
      Restivus.addRoute 'testChunkedResponse',
        get: ->
          @response.write 'Testing '
          @response.write 'chunked response.'
          @done()

      HTTP.get 'http://localhost:3000/api/v1/testChunkedResponse', (error, result) ->
        response = result.content

        test.equal result.statusCode, 200

        test.equal response.status, 'error'
        test.equal response.message, 'API endpoint does not exist'

      HTTP.get 'http://localhost:3000/api/v1/method-not-implemented/10', (error, result) ->
        response = JSON.parse result.content
        test.isTrue error
        test.equal result.statusCode, 405
