[improve] Add test to validation, model creation and instance creation.