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