fix tests, do not use numpy in randomSplit, no performance gain