Change tests to check integer pos.

Changed the tokenizer unit tests to check against the integer
position of the current character instead of what the current
character is. This avoids ambiguity.