Increase coverage of config.js to 100%
Add finder test
Adjust finder to reject the promise if the obtained directory does not exist