The plaintiffs, Alarm Applications Co., Inc. (hereinafter Alarm Applications), and John Voorvaart, brought an action in two counts against the defendants, Simsbury Fire District (hereinafter fire district) and Simsbury Volunteer Fire Company, Inc. (hereinafter fire company). The defendant interposed a motion to strike both counts of the complaint, which the court granted. The appeal to this court followed.
Both counts of the complaint are directed to both defendants. In the first count the corporate plaintiff alleges the following: The fire district was established as a corporation pursuant to General Statutes §§ 544 and 545 of the Revision of 1930 for the sole and express purpose of extinguishing fires. The fire district has the power to and does levy and collect property taxes to finance the necessary costs involved in extinguishing fires. The territorial limits of the fire district are сoextensive with the *543 territorial limits of the town of Simsbury except that portion of the town within the Tariffville fire district. The fire company is a Connecticut non-stock corporation created pursuant to Article 7 § 1 of the bylaws of the fire district for the sole purpose of preventing and extinguishing fires. The fire district is responsible for directing and supervising the conduct and operation of the fire company and supplying it with all the equipment necessary for preventing and extinguishing fires. Alarm Applications, a Connecticut stock corporation whose principal office is in Simsbury, is engaged in the sales, service, dealing and trading for profit of, among other things, fire prevention equipment and fire extinguishers in Simsbury and contiguous areas. The fire company is now, and for a long time up to the present has been, engaged in selling and servicing fire extinguishers and fire prevention equipment for profit within the town of Simsbury and contiguous areas. Such retailing activities of the fire company require it to engage in contracts for the purchase and subsequent sale of fire extinguishers, creating debts against it to be paid in the future. The gross income of Alarm Applications has been and сontinues to be lessened because of the competitive retailing activities of the volunteer fire company, which have been permitted and condoned by the fire district. Finally, the last paragraph of the first count alleges that there are actual, bona fide and substantial quеstions and issues in dispute and a substantial uncertainty of legal relations requiring judicial determination. The plaintiff seeks a declaratory judgment determining whether the alleged retailing activities of the fire company are “ultra vires, and unauthorized” in view of the fact that the fire company is a nоnprofit corporation that was set up and directed by *544 the fire district, which in turn, is limited by the town of Simsbury to the sole public purpose of extinguishing fires. In the event that the activities alleged are found to be ultra vires and unauthorized, injunctive relief is sought restraining both defendants from “condoning, permitting and engаging in the retailing activities.”
In the second count, the individual plaintiff incorporates all of the allegations of the first count and then goes on to make these additional allegations: The plaintiff Yoorvaart is a resident of Simsbury, a property owner and property taxpayer within the fire district. The retailing activity of the fire company is “an unauthorized commercial business” and has no_.relation to the purpose of a nonprofit corporation established for the purpose of preventing and extinguishing fires. The property taxes paid by the plaintiff to the fire district have, “by necessary and permissible inference,” been used by the fire company in the conduct of the “unauthorized private commercial business” complained of. Again, the existence of substantial questions and the uncertainty of the legal relations between the parties requiring judiciаl determination is alleged. The relief sought is a declaratory judgment determining whether the use of tax revenues from property taxes levied by the fire district “to support and conduct the private commercial activities of the . . . Fire Company” violates the plaintiff’s rights under the due process clause of the federal constitution’s fourteenth amendment. In the event that the court concludes that the plaintiff’s rights have been violated, injunctive relief against both defendants is also sought.
The defendants moved to strike the first count alleging that Alarm Applications “does not have *545 stаnding to ask for the enjoinment [sic] of ultra vires activities of the Simsbury Volunteer Fire Company, Inc.” The motion to strike the second count was based on the claim that Voorvaart “has not alleged standing to maintain a taxpayers’ suit against the defendants.” 1
The motion to strike, Practice Book, 1978, § 151, rеplaced the demurrer in our practice. Its function, like that which the demurrer served, is to test the legal sufficiency of a pleading. Practice Book, 1978, § 152; cf.
McAnerney
v.
McAnerney,
Standing concerns the legal right of an individual to set the machinery of the courts in operation.
Belford
v.
New Haven,
I
The single ground upon which the defendants base their motion to strike the first count is that the corporate plaintiff does not have standing to seek injunctive relief from the alleged ultra vires activities of the fire company. While acknowledging that it is not among the parties provided for in General Statutes § 33-429, as the court below concluded, the plaintiff contends that it has a eommon-law right to challenge the activities complained of. The defendants counter that no such common-law right of action survived the passage in 1959 of the Connecticut Nonstock Corporation Act enacted as chapter 617 of the Public Acts of 1959. With this argument the trial court agreed and, therefore, granted the motion to strike the first count.
We need not reach the question of whether a common-law right of action survived the passage
*547
of the Connectient Nonstock Corporation Act because that act is not applicable to the fire company or the fire district. In its definitional section, General Statutes § 33-421 (e), the act excludes from the definition of “corporation,” as that term is used in the aсt, the following entities: “towns, cities, boroughs or any municipal corporation or department thereof.” The defendant fire district is a quasi-municipal corporation. See
Larkin
v.
Bontatibus,
The questiоn presented to us is whether a private corporation, in the circumstances disclosed by the allegations of the first count, has standing to seek *548 a declaratory judgment that certain acts of a quasi-municipal corporation are ultra vires and unauthorized and to obtain injunctive relief restraining them.
We have long recognized the capacity of taxpayers of towns and cities to challenge the legality of the actions of their municipal officers by seeking injunctive relief against such action. See
Belford
v.
New Haven,
Thus, our cases in this area have required two conditions for the maintenance of actions seeking to challenge municipal conduct: (1) the plaintiff must be a taxpayer of the defendant municipal entity; and (2) the plaintiff must allege and demonstrate that the allegedly improper municipal conduct causes him to suffer “some pecuniary or other great injury.”
Bassett
v.
Desmond,
supra, 430; see
Belford
v.
New Haven,
supra, 53;
Atwood
v.
Regional School District No.
15,
While the corporate plaintiff has adequately alleged that it has been harmed by certain improper acts of the defendants, it has not alleged that it is a taxрayer to either of the defendants. Such an allegation is essential, and cannot be inferred. A motion to strike, like a demurrer, “is to be tested
*550
by the allegations of the pleading demurred to, which cannot be enlarged by the assumption of any fact not therein alleged.
Blanchard
v.
Nichols,
II
The defendants’ motion to strike the second count is based on the claim that the individual plaintiff failed to allege facts sufficient to confer standing to maintain а taxpayers’ suit. In this count, unlike the first count, the plaintiff has alleged that he is a taxpayer within the defendant fire district. But he has failed to allege that the challenged activity will result, directly or indirectly, in an increase in his taxes or will in some fashion cause him to suffer “great injury,” as our law requires.
Bassett
v.
Desmond,
supra, 430; see also
Rothkopf
v.
Danbury,
It is indeed ironic that the allegation that the corporate plaintiff lacks in the first count is made by the individual plaintiff in the second count and that the allegation the individual plaintiff lacks in the second count is made by the corporate plaintiff in the first count. While it is true that the individual plaintiff incorporates all of the allegations of the first count into the second count, nowhere does he allege any relationship between himself and the corporate plaintiff. Each count must bе treated as alleging a separate cause of action. Therefore, on the pleadings, any injury to the corporate plaintiff cannot be imputed to the individual plaintiff. Here also, this court “is limited to and controlled entirely by the information which the complaint itself affords.”
McAnerney
v.
McAnerney,
There is no error.
In this opinion the other judges concurred.
Notes
In this opinion, when discussing the first count, the term “plaintiff” refers to Alarm Applications; when discussing the second count, the term “plaintiff” refers to John H. Voorvaart.
The power of a fire district to authorize the сreation of a non-stock corporation to serve a municipal function is a question that we are not here required to consider. We do note, however, that municipal corporations and, by implication, quasi-municipal corporations are creatures of the state.
Windham Community Memorial Hospital
v.
Willimantic,
A plaintiff who is not a taxpayer may nonetheless challenge the actions of a municipal or quasi-municipal corporation where another legal relationship exists that provides the basis for standing. See, e.g.,
Better Home Heat Council, Inc.
v.
Housing Authority,
We point out that a ruling granting a motion to strike on the ground that the complaint lacked an essential allegation does not preclude the plaintiff from restating a cause of action by supplying
*552
the essential allegation lacking in the complaint that was stricken. See
Bridgeport Hydraulic Co.
v.
Pearson,
