Add require export compatibility to t-c-f and use require in tests