[libvirt] [PATCH 2/2] tests: Add test cases for previous commit