Fix VM tests.