Add tests for client creation.