Generalised unit test runner. Moved reader out of structures.py. Enhanced unittest running batch script.