thread local random number generator
prettyString unittest