Changing defaults of optimization tests