[PATCH v3 1/3] test_driver: Implement virDomainGetMessages