all tests pass for PackedInputStream