added more mocha tests