I can do the following in my test:
const ctx = t.withIdentity({ id: userId.toString(), tokenIdentifier: "test" });
but const userId = await getAuthUserId(ctx); call from inside a convex function being tested doesn't seem to return the correct userId created in the test.