Added expected value syntax, and information about location of errors in error messages