[PATCH v2 4/4] regression-tests: Replace deprecated methods in phase2 virtual tests