test for vm