libvirt-tests: Improve snapshot tests in libvirt.

Signed-off-by: yangdongsheng <yangds.fnst@cn.fujitsu.com>