fix counter_tests