new version with random forest tests