The basic_schema helper was only ever useful for the dump_schemas script.
Rewrite the test data extraction script.
Be more strict in validating uuids.
Update test set