added email validator with unit tests
fixed misprints