few tests for the simple vm
make class static so it can be extracted