test char length