add some basic functional tests for counters