add tests for use of token on knox client