Test Trac #7995