[Libguestfs] [PATCH v5 7/7] yara_scan: added API tests