first bits of code to support ingest from upload record
finish tests for uploads of reapplications