First pass at 03-closure.t portability.

Tests that depend on getting static code-ref need more work.