The current tests fail with later scikit-learn releases in several places, because the code relies on classes and attributes that have been removed.
I would suggest using 0.20 from Sept 2018 as minimum version.
That introduced the current ColumnTransformer and SimpleImputer and OneHotEncoder and so you'd be able to write current sklearn.