Thanks for pointing this out, updated the mock and also added an assert for non-latin keyboard layouts.