tests/inlinemedia: add delete_file util
tests/inlinemedia: Also test the media path when downloading
tests/inlinemedia: delete and check file in no_download