Make uploadArchives dependant on test