Add test infrastructure.  Add parser serialization.  Ensure that top-level returned type is always HTStructure.