Bug 968729 - Add unit test for Bug 963377
Merge pull request #16028 from RudyLu/keyboard/Bug968729-add_unit_test

Bug 968729 - Add unit test for Bug 963377.
r=timdream