Bug 906203 - Fixing the mocks for keypad_test.js