Remove error message related to logger in Tests