Added example-test for logging.