models with units tests