Fix for the code of processing test report on timeout

Thanks to Christopher Balz (https://github.com/christopherbalz) for fixing this issue!