that power has been conferred on the Court to strike out the name of any party improperly joined whether as plaintiff or defendant and also when the name of any person ought to have been joined as plaintiff or defendant or in a case where a person whose presence before the Court may be necessary in order to enable the Court effectually and completely to adjudicate upon and settle all the questions involved in the suit. In the present case, since we are not concerned with striking out the name of any plaintiff or defendant who has been improperly joined in the suit, we will therefore only consider whether the second part of sub-rule(2) Order 1 Rule 10 of the CPC empowers the Court to add a person who ought to have been joined or whose presence before the Court may be necessary in order to enable the Court effectually and completely to adjudicate upon and settle all the questions involved in the suit. 7. In our view, a bare reading of this provision namely, second part of Order 1 Rule 10 subrule (2) of the CPC would clearly show that the necessary parties in a suit for specific performance of a contract for sale are the parties to the contract or if they are dead their legal representatives as also a person who had purchased the contracted property from the vendor. In equity as well as in law, the contract constitutes rights and also regulates the liabilities of the parties. A purchaser is a necessary party as he would be affected if he had purchased with notice of the contract, but a person who claims adversely to the claim of a vendor is, however, not a necessary party. From the above, it is now clear that two tests are to be satisfied for determining the question who is a necessary party. Tests are - (1) there must be a right to some relief against such party in respect of the controversies involved in the proceedings (2) no effective decree can be passed in the absence of such party.”