Added some tests from Gumbo
Fixed a few bugs in the parser.