TST: Always define fd in util/testing