virttest.utils_test.libvirt: add new test utilities

Signed-off-by: Alex Jia <chuanchang.jia@gmail.com>