Fix random test failures caused by improper mocking of ObjectLoader

Description

The order in which elements are returned by ObjectLoader is very important, yet we have some tests mocking it by accepting elements in any order and always returning loaded objects in the same order.

Environment

None

Status

Assignee

Yoann Rodière

Reporter

Yoann Rodière

Labels

None

Suitable for new contributors

None

Feedback Requested

None

Components

Fix versions

Priority

Critical
Configure