Fix test for delete_vm