           assert.equal page.title, data.title
           done()
         )
-    catch e
-      done(e)
-
-  ).catch((err) ->
-    console.error err
-    throw err
-  )
+    catch err
+      done(err)
+
+  ).catch(done)
 )
 
 test('POST create - nesting a section in a page fails when not authenticated', (done) ->
   data = theIndicator = null
 
   helpers.createUser().then((user) ->
-    Q.nfcall(
-      helpers.createIndicator, {
-        name: 'dat indicator'
-        owner: user
-      }
-    )
+    Promise.promisify(helpers.createIndicator, helpers)({
+      name: 'dat indicator'
+      owner: user
+    })
   ).then( (indicator) ->
 
     theIndicator = indicator


        done()
      )
    ).catch( (err) ->
      console.error err
      throw new Error(err)
    )
)

test('GET index', (done) ->
  helpers.createPage().
    then( (page) ->
      request.get({
        url: helpers.appurl("api/pages")
        json: true
      }, (err, res, body) ->
        assert.equal res.statusCode, 200

        pages = body


        done()
      )
    ).catch(done)
)

test('DELETE page', (done) ->
