(a)to photograph any worker, to inspect, examine, measure, copy, photograph, sketch or test as the case may be, any building or room, any plant, machinery, appliance or apparatus, any prescribed register or document, or anything provided for the purpose of securing the health, safety or welfare of the workers employed in a factory;