add counter_test.js
Merge pull request #6 from jacshfr/project2

add counter_test.js