[libvirt] [PATCH V5 10/10] Add test cases