clarify function name, add tests for spelling corrector