Added test to validate email and empty name