Integrate Mocha test

Title said it all.