Add an ApplicationCommand registration test.
Add an WindowCommand registration test.