Shorten SMS messages

Tests were backported from the threading_restructure branch.

Fixes #278.