fixing logger for tests