           JS_EXT: '.js.gz'
           NODE_ENV: 'test'
           CURRENT_PATH: '/cool-fair'
-        fair = new Fair (fabricate 'fair')
-        profile = new Profile (fabricate 'fair_profile')
+          PROFILE: fabricate 'fair_profile'
+          FAIR: fabricate 'fair'
+          FACEBOOK_APP_NAMESPACE: 'namespace'
+        fair = new Fair (sd.FAIR)
+        profile = new Profile (sd.PROFILE)
         template = render('index')
           sd: sd
           fair: fair

          CSS_EXT: '.css.gz'
          JS_EXT: '.js.gz'
          NODE_ENV: 'test'
          SECTION: 'search'
          CURRENT_PATH: '/cool-fair'
        benv.expose { $: benv.require 'jquery' }

          NODE_ENV: 'test'
          SECTION: 'info'
          CURRENT_PATH: '/cool-fair'
          PROFILE: fabricate 'fair_profile'
          FAIR: fair
          FACEBOOK_APP_NAMESPACE: 'namespace'
        fair = new Fair sd.FAIR
        profile = new Profile sd.PROFILE
        template = render('index')
          sd: sd
          fair: fair
