incorporated Mihai's review feedback for Regions/keyboard events tests