added email test for validity