Configures test for server and client