I'm sympathetic to this, however the reason I haven't done it is that we need some of these variables later. We need @vm_n to get the metadata. We need @vapp_n to delete the vapp at the end of the test. So I would be creating a function that has useful side-effects - I don't like that, I'd rather make it explicit.