log_test: added very basic test for logging.