Test for vm