test previously untested branch in defaults.unit.spec.js