added logger in unit tests