[PATCH 3/3] dinput8/tests: Make keyboard event tests more robust.