adding tests to constructor
changing the server config structure