Added unit test for utils.
Added the Counter* classes.