libguestfs.tests: Add testcases.

1.Add testcases about partition operations with virt-format command
2.Add testcases about volume operations with virt-format command
3.Add testcases about inspecting operations with virt-inspect command

Called APIs please refer to https://github.com/autotest/virt-test/pull/1440