added test for VM state