Fork tests to avoid reflection errors.