fix the log messages for tests