added some tests for config.js