syntax error in duplicate email test