Test for character counter