modified gpumodel.py to debug how test batches work