fixed broken test for mail validation