Mocking VM tests