Added isEmailValid() test