refactored regression tests for dataexchangeformat - reader/writer stuff so can apply to xml and mroe generic wrappers too - but little done on the new stuff yet