Add tests for the various logging functions.