The test expected the wrong error message to be in the log. To better cope with changes in the text, the test now uses a regular expression to do the matching.