added test class, added checks for doi and reference strings