tundra.tn.document:parse - add unit tests