test for alerting a vm