Fixes for tests in light of MathML additions
Safety check on list size being 0 in TeiManipulator
Safety check for empty replace text crash in Reference Linker