Fix character count test