Automatized tests for model classes