fixed error in grammar (missing ';' in returnStatement);
added testcases for lexer errors