Actually test T4175
Improve tests slightly
Error message wibbles, following TcErrors refactoring
Test Trac #7786