Test Trac #8577