Fix failing test.

--HG--
extra : rebase_source : 08568761755ae73fa2086b4c18ed89284675ad5f
Use specific config file path.
API accepts path to config file or config as dict (addresses #45).