- Needs disabling of Foreign Key constraints + upsert deletion to have a chance of working.
- Make TestMain be driver-based - Move config to TestMain file - Make config a little more sane in pgmain