Tests tweaked to automatically conduct multiple iterations and log to different files.