Fixed bug with comment state machine on single line comments.
Added a TESTING flag, { and } to the regex, and a more complicated test case.