Add libvirt API acl test case for virsh undefine

Update virsh undefine test case for test API 'write', 'save' and
'delete' in virDomainPtr set.
The 'write' and 'save' is for define command, 'delete' is for
undefine command.

Signed-off-by: Wayne Sun <gsun@redhat.com>