Move reporting functions to separate module.
Tweak output.
Count tests.