Add test for bug #460304.