ps6.py unit tests.