cleaned up test_client formatting