refactor token generator test for 2 expressions (fails)