update tests, improve valid email regex