Unit tests and PEP compliance