Error messages

Here we add the details on the error strings used to keep track of errors occurring in tests.