Tests for TEI-P5 related functionality.