MDL-42054 fix incorrect email redirection in unit tests