Added interceptor to save function (test)