towards a contained test suite with no system state side effects

Here is a quick snapshot of my current work.
Probably better to leave this one alone and just use another inscrutable single-letter variable below. Less error-prone in the long run.