Update expected error messages for tests