removed the need of connect server in mocha tests