Test Counter class