Test publisher command.