use test of certificateHandler