Adding mocha tests for node unit