Added unit test case to vm create.