iiglue reader pass plus basic testing infrastructure

@AlisaMaas, feel free to skim this on your own if you like, but don't worry about understanding each and every line. I assume we will go through it all in detail during our next meeting.