Test Trac #7974