main/libfetch: move from testing