#6 Check for EndToken after parsing

Fixes #6

You might want to fix your tests.