Moved the check on n_estimators parameter from the __init__ method to _validate_estimator.
Changed test accordingly.