shifter test main and logging.