           test.throws Restivus.configure, 'Restivus.configure() can only be called once'
 
         it 'should configure any previously added routes', (test) ->
-          route = Restivus.routes[0]
+          route = Restivus.routes[2]
           test.equal route.endpoints.get.action(), 1
           test.isTrue route.endpoints.get.authRequired
           test.equal route.endpoints.get.roleRequired, ['admin']
 
         it 'should configure any previously added collection routes', (test) ->
-          route = Restivus.routes[1]
+          route = Restivus.routes[3]
           test.equal route.endpoints.get.action(), 2
           test.isTrue route.endpoints.get.authRequired
           test.equal route.endpoints.get.roleRequired, ['admin']

      it 'should respond with an error if this.done() isn\'t called after response is handled manually', (test, next) ->
        Restivus.addRoute 'testManualResponseWithoutDone',
          get: ->
            undefined

        HTTP.get 'http://localhost:3000/api/v1/testManualResponseWithoutDone', (error, result) ->
          test.isTrue error

          Restivus.addRoute 'test1', {authRequired: true, roleRequired: 'admin'},
            get: ->
              1
          # TODO: Access routes in a less brittle way than this index that can change when new routes are added (more below)
          route = Restivus.routes[2]
          test.equal route.path, 'test1'
          test.equal route.endpoints.get(), 1
          test.isTrue route.options.authRequired
