Corrected error messages in test file to match new wordings.