[PATCH v2 5/9] tests: Add mock library for virGetHostname and virGetHostUUID