fixing inconsistent output in predict_percentiles; making tests more sta...

...tistically friendly