libvirt.test: Skip test if option isn't supported

Signed-off-by: Li Yang <liyang.fnst@cn.fujitsu.com>