added tests for config.