run test in separate vm

Hello,

I have for example following tests structure:

MasterSuite1 -----Suite1----test1
| |-----test2
|
|----Suite2-----test3
|-----test4
MasterSuite2....

And I need to run each test in new vm – I have to start before test1 the new vm and close after, start new before test2 and so on…
Using maven/ant and ‘fork’ flag I am able to use new vm for each MasterSuite but what about each test in one suite?

Regards,
Jarek