[test.c] a few idempotent simplifications
[test.c] a few idempotent simplifications

I've learned (1) that declarations can be at the start of each new lexical
block, not just the start of the sub, and (2) that declarations can be
combined with assignments. These two new pieces of knowledge helped shorten
some parts of the code.

masak/sea-druid