Libguestfs: Add test for virt file operations