Implementation that validates tests Instance considered that valid configurations for attributes of the types TEXT, INTEGER and LONGTEXT

Refactor this code, using a configuration variable.