Mass. clinic to pay state $450K for unneeded testing