Testing "gen priv" command.