[fb] Fix upload file and archive tests