Making mocking of response actions optional