Enhancing redirect mock