tests: only import KNNDivergencenceEstimator if it's going to work