properly mock response