Test suite for tokenizer, fixed a few small issues
Testing in the browser as well