var assert = require('assert');
var fs = require('fs');

var cv = require("../build/Release/cloudcv");

exports['test cv.detectFaces'] = function() {

    var imageData = fs.readFileSync("test/lena.png");
    assert.isNotNull(imageData);

    cv.detectFaces(imageData, function(result) {

        console.log(result);
        assert.isNotNull(result);
    });

};
@@ -286,34 +286,44 @@
  %7B%0A%0A
-        console.log(result
+%09assert.equal(1, result.faces.length
 );%0A 
@@ -366,8 +366,9 @@
  %7D);%0A%0A%7D;
+%0A

Update face detection tests