modify to add tests for parser
modify to move definitions of LEFT-TRIM function and TRIM function to the place where they are used