             allowedUsers: ['test', 'ickletest']
         , (err, res, body) =>
           @response = res
-          @tool = JSON.parse res.body
+          @tool = parseJSON res.body
           done()
 
       it 'is shared with some users', ->

                public: false
            , (err, res, body) =>
              @response = res
              @tool = JSON.parse res.body
              done()

          it 'creates a new tool', ->

                @response = res
                @view = null
                if res
                  @view = parseJSON res.body
                done()

            context 'POST /api/:user/datasets/<dataset>/views', ->
