fixed a compile error in the content assist lexer
use lazy state container to handle test setups