Added Unit tests for model validations

signed-off-by: Fellipe Souto <fllsouto@gmail.com>