added testing stuff to predictor