Adding test coverage for weight deprecation in IsotonicRegression and isotonic_regression