Add compile-time define for unit test switches.

Eliminate need to manually switch values for test runs.
Currently, just to stay out of the infinite loop and keep
std io streams open during testing.