Change tests to check integer pos.

Issue #357

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.