found bugs with parser testfiles

@fmmoret found some bugs with the parser testfiles. there might be a few more. working on it now. sorry