[tests] flush std streams (#120)
* Implement sample-ids-to-text extractor
* enable printing full numpy records
* print the actual text
* flush std streams
* cleanup
* automatically replay std streams
* doc
Co-authored-by: Seungju Han <wade3han@gmail.com>