Test kingdom subcommand