deprecated TestResponseWriter