sql tests for vm