Added unit tests for delete orphan VMs