fixes exception on Windows8 when reporting test results