Test beta sampling.
Add sampling for P_RS