In accordance with another aspect of the present invention, each of the plurality of control means in the test circuit is made up of a counter circuit comprising a plurality of flip flops and a plurality of logical circuits for generating the control signal that indicates whether or not the test results are outputted to the outside based on the comparison result transferred from the corresponding