test: fix PHP 8.5 deprecations in tests
- ArrayIterator must not take an object as backing array; materialize
the ZipFile iterator first.
- declare the $context property on the DummyFileSystemStream wrapper:
PHP assigns it on registration and a missing property now triggers a
dynamic property deprecation.