This test verifies the behavior of undoing autocorrection.

Type "the mesage". After seeing the correction panel, type whitespace to accept the correction, then select undo. You should see the second word being reverted to "message".