Testsuite for vm commands

TestSuite for azure  vm commands
Current code coverage for vm._js is 70%