Fix test for ConfigurationOptimizer.