Fix: the internal roles table now works on a per-test-environment basis