bad data in invalid email test fixed