Bug 846845 - [MMS][SMS][Tests] add tests and simplify Utils. r=julien

Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
Merge pull request #8414 from rwldrn/846845

Bug 846845 - [MMS][SMS][Tests] add tests and simplify Utils