Added tests for CompoundLogger and EmailLogger.