fixed C tests