pep unit test fix