Fixed testmodels errors