Adds tests for lib/config.js