preparation for impute.knn test
bugfixing corner case