client configuration and few tests