Added unit test for RandomForest