Fixed error messages unit tests (broken for addition of a new error message)