tp-libvirt: Add option(managedsave and snapshot) test for undefine

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