def METHOD_NAME(
    client, monkeypatch, elasticsearch_award_index, award_with_tas
):
    _setup_es(client, monkeypatch, elasticsearch_award_index)
    resp = query_by_treasury_account_components(client, {"aid": "020", "main": "SELECT"}, None)
    assert resp.status_code == status.HTTP_422_UNPROCESSABLE_ENTITY, "Failed to return 422 Response"