fix errors on CI (not local)

fixes a (presumed) timing issue with requiring a module, exporting it, and using it in tests run in parallel..

fix test exit code on travis