Exporting server instance in server.js; Allow close connection in tests
Fixing timeout exceeded in auth test