Removed league from team and added model tests