Updated bracket tests to test for quoted text.
Bracket peek now exits loop if token not equals or curly.