added logger to unit tests