Finished up test_client_factory