Counter object with testing

Using node assertions and using mocha + chai 'expect' library.