add counter_test.js