add test for boundary condition of short string