TST: optimize: add test for curve_fit pcov scaling