Sampling test for RLModel. Small improvements