test as a through stream
rewrite to be through stream
2.0.0