Refactor 'rack.input' in tests to use `@env['rack.input']`