Write test for respelling multimorphemic words

After writing the test, it was discovered that the bug can't be
reproduced; but we'll keep the test anyway.

Change-Id: Ic5c78c10319e8945a3bb4f25400189136d0f9b44