remove old interface; replace MockResponseWriter with httptest.ResponseRecorder.