Added testing hook to Response