Libguestfs: Add testcases for libguestfs operations(virt-format)

Testcases with command virt-format:
1.partition operations
2.volume operations
3.inspector operations