virsh.pool_edit: Rewrite case to cover more scenarios

Signed-off-by: Yanbing Du <ydu@redhat.com>