Update DemoVMTest. Remove useless code from DemoTest