General ExcelViewTests code update

Issue: SPR-11334
Polishing