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.
Merge pull request #368 from RickEyre/track-len-pos

Change tests to check integer pos.