test: extended tests for isStream. ported from archiver.