Added sample_weight test for classification and regression