Save responses of calls in tests