Added restart role to virtual machine and tests.