Test Trac #8651