Add in test for header continuations

First step towards adding this feature. Also PEP8 some of parser.py, as
PyCharm was bugging me :)