City officials had warned that without a new contract, they would be unable to administer an admissions exam and admit a freshman class next year at the specialized high schools.