NYC pays big for exam failures