implemented tests for the parser header
Merge pull request #23 from hogbait/parser_tests

implemented tests for the parser header