def METHOD_NAME(client):
    """
    Tests for that overwrites, overwrites jp2 edition.
    """
    filepath = client.download_jp2('2020/01/01', observatory='SOHO',
                                   instrument='MDI', measurement='continuum',
                                   overwrite=False)
    filepath_2 = client.download_jp2('2020/01/01', observatory='SOHO',
                                     instrument='MDI', measurement='continuum',
                                     overwrite=False)
    assert filepath_2 == filepath
    filepath_3 = client.download_jp2('2020/01/01', observatory='SOHO',
                                     instrument='MDI', measurement='continuum',
                                     overwrite=True)
    assert filepath_3 == filepath