Bug 1080285 - [Keyboard] Mock test dimensions so it will pass in any environment r=rudyl