Bug 1026575 - [B2G][SMS] Message preview in Messages app thread view disappears after opening app. r=schung

And add a test for the length reset.