[Parser] Added unittests for the remaining errors