tests for all models and validations