Tests for Phonex.
Add the Phonex encoding function.