The state recognizes the following rights of every private school:
(1) To teach their religious beliefs and doctrines, if any; to pray in class and in assemblies; to teach patriotism including requiring students to salute the flag of the United States if that be the custom of the particular private school.
(2) To require that there shall be on file the written consent of parents or guardians of students prior to the administration of any psychological test or the conduct of any type of group therapy.