added test for isEmail widget