[NEW] Add tests on Logging.