test for ShortStringGenerator