Lexer improvements and tests
Removed un-needed checks
Only bind if not already bound before
TwigBridge tests