Added some test code
Server setup should read the server configuration, not the client one