vm,test: remove root-account dependency.
Merge branch 'refactor-vm-unit-test'