Fix test_edd_get_download_by(). #2302