Fixed case where testCase.screenshots could be null.