Logging for smoke tests in a txt file and other small modifications