Bug 977451 - [keyboard refactor] Unit test for autocorrect.js and suggestions.js