Test MessageCommand.