fixing of test fail in prev commit

"+ 1" added to generate string of length that is more than allowed