keyboard stuff

Improve test invocation, fix Retro Shift bugs, and add Auto+Retro Shift test cases (#15889) master