PRD-4897 - Fixing some test cases related to complex text.