ckeck use of token with mock