testing of model creation