it now copies the testlog to a tmpfile first and adds a line to check if Cache.needs_parsing is working correctly