Fix typo in the exception message
Adjust the unit-test for the change in the exception message