Changed runSimulation to avoid that log files get deleted.
Added unittest.py wrapper for backward compatibility.
Added deletion of log file in constructor.