Updating  testRecursivelyChainingPromises unit tests to avoid timeouts