add a functional test which simulates an upload and then a full job run, and demonstrates all the records being analysed successfully (and hopefully correctly).  Plus fixes to issues found in the writing