Expose Fogin on index.js export, update tests
Merge pull request #7 from humphd/exposefogin

Expose Fogin on index.js export, update tests