[parse.validate] more validation tests & bugfixes