test methods ps4.py