migrating unbooted VMs raises exception, fix and add new tests