Add tests and fix logic around affiliations retrieval
Add unit test file
Update to cover file 100%
Auto format
Use a ternary operator
Merge pull request #253 from surevine/fix-affiliations

Add tests and fix logic around affiliations retrieval
Update external-domain-checker syntax in README.md