Optimization test.