test response writer