split out txt & json into separate tests to avoid race conditions