Unitary tests for pseudos.py