Add test for default value of min_samples
Add test for invalid value of min_samples
Add test for custom residual_metric
Add test for default residual threshold