Improved test for bug #62479