Fix issue with invalid reactions throwing NameError (adds test as well)
Fix issue with invalid reactions throwing NameError
(adds test as well)

adalke/rdkit,soerendip42/rdkit,soerendip42/rdkit,greglandrum/rdkit,rdkit/rdkit,bp-kelley/rdkit,strets123/rdkit,rvianello/rdkit,rdkit/rdkit,jandom/rdkit,adalke/rdkit,jandom/rdkit,soerendip42/rdkit,soerendip42/rdkit,soerendip42/rdkit,rdkit/rdkit,jandom/rdkit,strets123/rdkit,adalke/rdkit,jandom/rdkit,rvianello/rdkit,bp-kelley/rdkit,rvianello/rdkit,greglandrum/rdkit,ptosco/rdkit,greglandrum/rdkit,rdkit/rdkit,ptosco/rdkit,rdkit/rdkit,greglandrum/rdkit,rvianello/rdkit,bp-kelley/rdkit,rdkit/rdkit,adalke/rdkit,jandom/rdkit,bp-kelley/rdkit,ptosco/rdkit,greglandrum/rdkit,soerendip42/rdkit,strets123/rdkit,greglandrum/rdkit,adalke/rdkit,bp-kelley/rdkit,soerendip42/rdkit,strets123/rdkit,adalke/rdkit,ptosco/rdkit,rvianello/rdkit,soerendip42/rdkit,greglandrum/rdkit,adalke/rdkit,strets123/rdkit,bp-kelley/rdkit,rdkit/rdkit,ptosco/rdkit,bp-kelley/rdkit,strets123/rdkit,jandom/rdkit,ptosco/rdkit,rvianello/rdkit,ptosco/rdkit,rdkit/rdkit,rvianello/rdkit,jandom/rdkit,strets123/rdkit,strets123/rdkit,greglandrum/rdkit,rvianello/rdkit,ptosco/rdkit,jandom/rdkit,adalke/rdkit,bp-kelley/rdkit