tests for get_tokens action