Fix tests for updated error message.