writing the test output to a logfile; we can check when logfile is generated to see if tests are passing at the moment