Work more on randcontest command.