test_atflexer: Move lexer fixture into helper method.
test_atflexer: Move lexer fixture into helper method.

None of the tests calling `compare_tokens` makes use of the lexer
fixture after passing it in. We can therefore avoid needing to
pass it through from every test by just creating a local lexer
inside that function.

UCL/pyoracc