Consider packed refs in the oid refs test

Fixes some test failures (though there's an unrelated one in `GTTime` stuff).