Fixed a bug in the tokenizer regarding double escaped script content
Added more unit tests