write errors to stderr; consistent exit codes
update test_guard
load single test
move logger setup to config; added log_level
test setting log level via conf
moved logging code into common