Fix email test