Test functionality of the trace logger.