Mocha tests added