Testing models

Testing the team model.
Some validations added.