 
     setup ->
       dm = new DM;
-      async  = sinon.stub(new Async);
-      loader = sinon.stub(new Loader);
-
-      console.log('lll', Async.prototype, Loader.prototype);
-
+      async  = new Async;
+      loader = new Loader;
 
       dm.setAsync(async);
       dm.setLoader(loader.setAsync(async));


      result = dm.parseString(string);

      mock.verify();
      assert.strictEqual result, value;

    # ================

    # ================

    test "Should throw an error when nothing is given", ->

      sinon.stub(async, "reject", (err) ->
        return err;
      );

      error = dm.parseString();

      sinon.assert.calledOnce(async.reject);
      assert.instanceOf error, Error;

    # ================
