Test Trac #8985