Remove debug prints from unit tests

Only print information about a running test if it fails. Keeps go test
output focused on failing tests.
Remove obsolete testing code
Reentrant test functions

Easier reuse for fragmented tests later
shared nopLogger variable
test file for handler signatures