The ``corpora`` controller has been implemented with basic functionality and tests written; ``lib/testutils.py`` now houses functionality common to test modules.