Fix the test assertion as the error message is changed.