tests: limit infrastructure fixture scope to function to allow independent test run
Some test functions need to be executed in specific order, otherwise they will fail.
This is caused by some settings carried over to another tests, especially on mock backend, by fixture infrastructure
, which scope is module
.
If that won't hurt performance of CI pipeline, we should change scope of all affected fixtures to function
.