HCSVLAB-739: Fixed class reference error when downloading items documents in zip format. Also added a test for this scenario.