add logger for test