implemented tests for the parser header

@fmmoret