some refactoring
adding test matching on PubMed