fix C tests