Tests and implementation for ClueTokens