virt: Improves list tests function.

Allow use new params build-in variable which maps file to vartiant name.

Signed-off-by: Jiří Župka <jzupka@redhat.com>