Add a skeleton VM lifecycle test

Obviously this needs a lot more work, but it's already at the point where I'm hitting races in the server end (and getting annoyed at the verbosity of the bindings). I'd prefer to fix those issues before making many more tests...