A more homogeneous output for the errors in console, increase test coverage.