def METHOD_NAME(self):
    """Test with gwcs."""
    columns = ['skycoord_peak', 'skycoord_centroid']
    gwcs_obj = make_gwcs(IMAGE.shape)
    tbl = find_peaks(IMAGE, 100, wcs=gwcs_obj, centroid_func=centroid_com)
    for column in columns:
        assert column in tbl.colnames