models and basic tests implemented