Updated EvalSA.py with testSA function