Tweak test_edd_get_download_by()
Fix additional unit tests