Update tests for "parser syntax errors"

accept (but don't require) "dot" at the end of error message.