added unittest for istrslen