Structure RequestHandlerTest in a way that its test names can be easily queried, and add a tool for doing that.
Add unit tests for TeeInput
Fix environment names in error_layout. Fixes issue #1058