Hi @paul.stanton,
We created an Auth0 simulator to give us precise control state of Auth0 in tests.
If you’re interested in more precise control over the specific state in tests, we could add your use case to our simulator.
You can learn about it here https://community.auth0.com/t/auth0-simulation-for-ephemeral-deployments-and-reliable-automated-testing/78334
Let me know if you’d like to explore this further,
Taras