[libvirt] [PATCH V3 3/5] tests: Add more test suite mock helpers