Add a test for adding custom log message