Virt test fixes

Fixes needed for the new virt-test plugin and tests.