add test_counter.c