Random forests tests and debugging