Some unit tests around base.py.