Each applicant before being allowed to take the examination, must pay to the board a fee to be fixed by the board at an amount which, with other available resources of the board, will fully cover the cost of the examination, including compensation and expenses of members of the examining board. In case the application is denied and examination is refused the fee shall be returned to the applicant. Any applicant who fails to pass an examination shall be entitled to a reexamination within six months upon payment of the original examination fee, but only two such reexaminations shall be permitted under the privilege of the original application.