Fixed major bug in SBDH handling, failing on DOCUMENTID. Also updated test documents and made decoding more robust.