Adds charCount unit test