Tests for electronic counting devices