Test: use waitForMessage in test-command-editor test