fixed test for ingest and purge