consolidate function export tests to t/01_api.t