Test Trac #8649