Fixed bug: VM free incorrect buffer in Done fumction
Add first test for checking VM run