def METHOD_NAME(client):
    """
    Tests getJP2Image API method.
    """
    filepath = client.download_jp2('2012/01/01', observatory='SOHO',
                                   instrument='MDI', measurement='continuum')
    assert "2011_01_11__22_39_00_000__SOHO_MDI_MDI_continuum.jp2" in filepath
    os.remove(filepath)