Add assert
Add test case for maxChiSymbolLen