lazily produce tokens in tests