o fixed the test cases to adopt the new syntax
o added some line info to error messages relating to mismatched \begin
/ \end