Fixed test for "Allow to define a type for schema validators"