Add tests for process_num expansion in logfile names