Bug 977452 - [keyboard refactor] Unit test for input_field.js