[parser] commenting codes, not much to refactor...

tidied up comments for unit tests also......