tests/units: support stressed phonemes

This ignores stress markers when looking up a unit in the phoneme
table.