Attempt at 'lossless' and isolate per-block context variables.
Nested context management and isolation for test data.

A few performance centered changes.
Reorganized a few tests and their folders.