fix random forest unit test