def METHOD_NAME(
    query, exemplar_spatial_unit_param, stat
):
    """
    Test that column_names property matches head(0)
    """
    query_instance = query(
        "2016-01-01",
        "2016-01-07",
        spatial_unit=exemplar_spatial_unit_param,
        statistic=stat,
    )
    assert query_instance.head(0).columns.tolist() == query_instance.column_names