added tracing to test runtokens