Fixed test case for 5328d42

The fix for #67072 (5.4) caused a test case from 5.5 onwards to fail.

This PR aims to fix that by updating the respective test case.