Testing the logging functionality.