Issue #5983: Modifying the test code for Advanced compression

Modifying the test code for Advanced compression