more vm functionality

vm tests