Add tests for killing the VM