Issue #5983: Modifying the test code

Modifying the test code