Check bounds in randompointsample test