[autotests] Add test case for Client window shortcut
Registers a shortcut on a window and triggers it.