Add a smoke test for getCommands()