test for method countChars for WC