added testDecider and more comments to decideConfig.js file