Capability for multi-line code segment unit-tests.

+ Various bug fixes