Tests for validation changed by @igorescobar

Signed-off-by: Michael Granados <michaelgranados@gmail.com>
Validation with masked and umasked elements too

Signed-off-by: Michael Granados <michaelgranados@gmail.com>