Add tests for logger_name and thread_name