Fix test case harder (cc #9629)