Defaults path override fix and tests.