Update integrationtestlib.py

Updated to make a log file in a specified directory