rename config to example config, and handle loading conf for test and index.js better