add test for config.add_default