Email validation implemented and tested