Parsing verbosity improved - more accurate messages provided for detected errors + some tests + refactor.