ENH/TST: Add run method and tests for piping JSON through the stats compilation
ENH/TST: Add random string sampler, update tests