remove useless test, refactor vm tests