virttest.utils_test: Add parse output to list/dict functions.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>