add stream unpacker and its test
adjust stream unpack test to project's standard way