Added junit mocha tests