Update downloads tests with LIFO parameter, add three news unit test for uploads in background and create a UNIT_TEST macro to use a diferent nsurlconfiguration in tests