Issue #23392: Added tests for marshal C API that works with FILE*.