Fixed a test for bug #7410.