[libvirt] [test-API PATCH 4/4] improve and fix testcases found during testcases run