Remove obsolete VM#reset method.
Compact Traces when a Generation ends.
Add VM tests.