If the partnership agreement is not registered or if the object of the business is illegal the court can consider it invalid