Convert functional tests to statefull QemuUtils