Fixed VM unit tests.