Add logger for test env