updated to print out the logs from test runs