fix lazy reading of test report in unit test