This test verifies the behavior of spellchecking after reversion.

1. After seeing the correction panel, press space to accept the correction.
2. Press delete key to bring up reversion bubble.
3. Press down arrow followed by return key to accept the reversion suggestion.
4. Press space key again, and verify that the word "cylindr" IS NOT marked as misspelled.
5. Press delete key twice.
6. Press space key again, and verify that the word "cylind" IS marked as misspelled.

Note, this test can fail due to user specific spell checking data. To fix this, remove all files in ~/Library/Spelling.