spntest.py
ready to run versiion