Add tests for spellchecker