         Backbone.sync
           .onCall 0
           .yieldsTo 'error'
-        routes.index extend({ user: 'existy' }, @req), @res
+        routes.index extend(@user, @req), @res
           .then =>
             @res.render.args[0][0].should.equal 'index'
             @res.render.args[0][1].featuredLinks.length.should.equal 0

              .should.equal 'My hero'

      it 'with lab feature, does not fetch hero units or featured links', ->
        @metaphysics.returns Promise.resolve
          home_page:
            artwork_modules: []
        routes.index extend({ user: { lab_features: ['Homepage Search'] } }, @req), @res
          .then =>
            @res.render.args[0][0].should.equal 'index'
            @res.render.args[0][1].modules[0].key.should.equal 'followed_artists'

      redirect: sinon.stub()
      cookie: @cookieStub = sinon.stub()

    @user = {
      hasLabFeature: () -> false
    }

  afterEach ->
    Backbone.sync.restore()

