fix quadratic objective tests