create models and test