Add mocha tests

Test functionality of pieces of spell checking logic, specifically methods of the SpellChecker object.
Merge pull request #4 from jdlehman/add-tests

Add mocha tests